php remove non numeric

32

php remove non numeric -

$res = preg_replace("/[^0-9]/", "", "Every 6 Months" );

Comments

Submit
0 Comments